home *** CD-ROM | disk | FTP | other *** search
- onClipEvent(enterFrame){
- if(espera)
- {
- c++;
- if(c > WAIT && i < MAX)
- {
- espera = false;
- generar = true;
- i++;
- c = 0;
- }
- }
- if(generar)
- {
- z = _root.aleatorio(10,20);
- init = {_x:(_root.aleatorio(0,15) + 1) * 16,_xscale:z,_yscale:z,dx:_root.aleatorio(0.2,0.6),dy:_root.aleatorio(0.5,1),xwide:_root.aleatorio(10,20),mover:true};
- _root.snow.duplicateMovieClip("snow" + i,100 + i,init);
- generar = false;
- espera = true;
- }
- }
-